/*
	Copyright (c) 2011 Andrey O. Zbitnev (azbitnev@gmail.com)
	Licensed under the MIT License (LICENSE).

	$Id: ys.select.css 31 2012-08-21 07:22:44Z azbitnev@gmail.com $

	required modules: disabled, search, disclosure
*/

/*
	ys-select: common logic
*/

.ys-select {
	cursor: pointer;
	display: inline-block;
}

.ys-select > .current {
	overflow: hidden;
	white-space: pre;
}

.ys-select > .current > div {
	overflow: hidden;
}

.ys-select > .ys-list {
	clear: both;
	visibility: hidden;
	position: absolute;
}

.ys-select > .ys-list > div > .items {
	float: left;
	overflow: hidden;
}

.ys-select > .ys-list > div > .native {
	overflow: auto;
	float: none;
	clear: both;
}

.ys-select > .ys-list > div > .right {
	float: left;
}

.ys-select > .ys-list > div > .bottom {
	clear: both;
}

.ys-select > .ys-list > div > .ys-search {
	cursor: text;
}

/*
	ys-select: common style
*/

.ys-select {
	background: #fff;
	border: 0 solid #eee;
}

.ys-select:hover {
	border-color: #ddd;
}

.ys-select .current {
	background-position: right center;
}


.ys-select > .ys-list {
	background: #fff;
	border: 0 solid #eee;
	box-shadow: 0px 8px 14px #aaaaaa;
	-webkit-box-shadow: 0px 8px 14px #aaaaaa;
	-moz-box-shadow: 0px 8px 14px #aaaaaa;
}

.ys-select > .ys-list > div > .items > .message {
	font-style: italic;
	color: #ccc;
}

.ys-select > .ys-list > div > .ys-search {
	background-position: left center;
}

/*
	ys-select: common sizes
*/

.ys-select {
	border-width: 1px;
	width: 198px;
	height: 2em;
}

.ys-select > .current {
	width: auto;
	height: 2em;
	line-height: 2em;
	padding-right: 20px;
	padding-left: 0.4em;
	margin-right: 0.4em;
}

.ys-select > .current > div {
	margin-right: 0.4em;
}

.ys-select > .ys-list {
	width: 21.2em;
	border-width: 1px;
}

.ys-select > .ys-list > div > .items {
	width: 18.8em;
	max-height: 14.5em;
	margin: 0.6em;
}

.ys-select > .ys-list > div > .native {
	width: auto;
}

.ys-select > .ys-list > div > .ys-no-scrollbar-vertical {
	width: 20em;
}

.ys-select > .ys-list > div > .right > .ys-scrollbar-vertical {
	height: 14.5em;
	margin: 0.6em 0;
}

.ys-select > .ys-list > div > .ys-search {
	float: left;
	margin: 0.6em;
	height: 1.82em;
	width: 17.6em;
	font-size: 1em;
	padding: 0.18em 0.6em;
	padding-left: 24px;
}

/*
	ys-select: msie fixes
*/

.ys-select-ie8 > .ys-list > div > .ys-search {
	padding-top: 0.5em;
	height: 1.46em;
}

.ys-select-ie8 > .ys-list {
	position: relative;
	top: -1px;
	left: -1px;
	filter: progid:DXImageTransform.Microsoft.Shadow(Color=#bbbbbb, Strength=0, Direction=0),
		progid:DXImageTransform.Microsoft.Shadow(Color=#bbbbbb, Strength=4, Direction=90),
		progid:DXImageTransform.Microsoft.Shadow(Color=#bbbbbb, Strength=6, Direction=180),
		progid:DXImageTransform.Microsoft.Shadow(Color=#bbbbbb, Strength=1, Direction=270)
	;
}
